public class T8 {
    public static void main(String[] args) {
        int a;
        int b = 2;
        int count = 1;
        int sum = 0;

        for (a = 2; a <= 10000; a++) {
            for (b = 2; b < a / 2; b++) {
                if (a % b == 0) {

                    count++;
                    sum += count;

                }
            }
        }
    }
}
